package com.quik.backend.service.billing;

import java.util.List;

import com.quik.backend.service.BaseService;
import com.quik.entity.BizBilling;
import com.quik.entity.BizBillingItem;
import com.quik.entity.BizBillingService;
import com.quik.entity.SysAccount;

public interface BillingService extends BaseService{

	void updateBillingServiceIfNotNull(BizBillingService bizBillingService,
			SysAccount account);

	void updateBillingItemForCancel(Integer id, String staffNo,
			String password, SysAccount account);

	void updateBillingItemForEnd(Integer id, SysAccount account);

	BizBilling findBillingByToken(String tokenNo);

	List<BizBillingItem> findBillingItemByBillingId(String string);

	BizBilling submitTokenToOpen(String[] tokenNos, String contactStaffNo,
			SysAccount account) throws Exception;

	void submitBillingItemForKickoff(Integer billingItemId, String tokenNo,
			Integer[] serviceIds, String[] workerNos, String[] turnTypes,
			String[] callTurnWorkerNos, SysAccount account);

	Integer submitProductToBilling(Integer billingId, String[] productNos,
			Integer[] qtys, String roomNo, String tokenNo, String staff_no);

}
